package com.msmall.community.dpt.service;

import com.msmall.base.service.BaseManager;
import com.msmall.community.dpt.model.Department;

public interface DepartmentManager extends BaseManager<Department, Long>{

	/**
	 * 创建新的栏目
	 * @param userid creator
	 * @return
	 */
	public Department saveDepartment(Department department,Long userid) throws Exception;
	
	/**
	 * 刷新所有数据到缓存
	 */
	public void refresh() throws Exception;
}
